package com.haiyou.data.sdk.account.log;

import com.haiyou.common.jdbc.DbType;
import com.haiyou.data.common.persister.mysql.annotation.Comment;
import com.haiyou.data.common.persister.mysql.annotation.Database;
import com.haiyou.data.common.persister.mysql.annotation.Id;
import com.haiyou.data.common.persister.mysql.annotation.Table;
import com.haiyou.data.common.persister.mysql.persister.delay.DelayEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;


@ToString
@Setter
@Getter
@Database(alias = DbType.LOG_DB)
@Table(name = "t_log_extra", rollPolicy = Table.RollPolicy.EVERY_DAY, comment = @Comment("额外日志"), sqlBatchNum = 400, columnDropable = true)
public class ExtraLog extends DelayEntity<Long> {

    @Id(autoIncr = true)
    private Long id;

    @Comment("玩家id")
    private String playerId;

    @Comment("类型")
    private int type;

    private int serverId;

    private int param;

}
